package com.atguigu.service;

import com.atguigu.base.BaseService;
import com.atguigu.entity.UserFollow;
import com.atguigu.vo.UserFollowVo;
import com.github.pagehelper.PageInfo;

/**
 * @ClassName UserFollowService
 * @Description 此类描述:
 * @Author dangchen
 * @DateTime 2022-08-29 21:33
 * @Version 1.0
 */
public interface UserFollowService extends BaseService<UserFollow> {
    void follow(UserFollow userFollow);

    Boolean isFollow(Long userId, Long houseId);

    PageInfo<UserFollowVo> findListPage(Integer pageNum, Integer pageSize, Long userId);

}
